package cn.edu.jxust.common.domain.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.validation.constraints.NotNull;

/**
 * @author QiuKangming
 * @version 1.0
 * @description 用户角色视图对象
 * @since 2020/07/07 11:36
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class AccountRoleVo {

    @NotNull(message = "用户id不能为空")
    private Integer userId;

    @NotNull(message = "角色id不能为空")
    private Integer roleId;

}
